<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">主键ID</label>
            <div class="layui-input-block">
                <input type="text" name="id" class="layui-input" lay-verify="required" placeholder="请输入主键ID" value="{$row.id|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">产品编号</label>
            <div class="layui-input-block">
                <input type="text" name="product_sku" class="layui-input"  placeholder="请输入产品编号" value="{$row.product_sku|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">产品名称</label>
            <div class="layui-input-block">
                <input type="text" name="product_name" class="layui-input"  placeholder="请输入产品名称" value="{$row.product_name|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">规格</label>
            <div class="layui-input-block">
                <!-- <input type="text" name="product_notms" class="layui-input"  placeholder="请输入规格" value="{$row.product_notms|default=''}"> -->
                <select name="product_spec_id" lay-verify="required" data-select="{:url('warehouse.productspec/index')}" data-fields="id,name" data-value="{$row.product_spec_id|default=''}">
                </select>
            </div>
        </div>
        
        <!-- <div class="layui-form-item">
            <label class="layui-form-label">入库时间</label>
            <div class="layui-input-block">
                <input type="text" name="product_add_time" class="layui-input"  placeholder="请输入入库时间" value="{$row.product_add_time|default=''}">
            </div>
        </div> -->
        <div class="layui-form-item">
            <label class="layui-form-label">产品状态</label>
            <div class="layui-input-block">
                <input type="text" name="product_status" class="layui-input"  placeholder="请输入产品状态" value="{$row.product_status|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">二维码</label>
            <div class="layui-input-block">
                <input type="text" name="product_code_image" class="layui-input"  placeholder="请输入二维码" value="{$row.product_code_image|default=''}">
            </div>
        </div>
        <!-- <div class="layui-form-item">
            <label class="layui-form-label">创建时间</label>
            <div class="layui-input-block">
                <input type="text" name="product_create_time" class="layui-input"  placeholder="请输入创建时间" value="{$row.product_create_time|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">修改时间</label>
            <div class="layui-input-block">
                <input type="text" name="product_update_time" class="layui-input"  placeholder="请输入修改时间" value="{$row.product_update_time|default=''}">
            </div>
        </div> -->
        <div class="layui-form-item">
            <label class="layui-form-label">仓库ID</label>
            <div class="layui-input-block">
                <input type="text" name="warehouse_id" class="layui-input"  placeholder="请输入仓库ID" value="{$row.warehouse_id|default=''}">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>